package com.tanhua.dubbo.api;

import com.tanhua.model.domain.Settings;

public interface SettingsApi {

    //根据id，查询用户的开关数据 true / false
    Settings findSettingsByUserId(Long userId);

    //保存settings数据
    void save(Settings settings);

    //更新settings数据
    void update(Settings settings);
}
